details widget name

Overview, properties and relations

Same cat chapters
  • Technical documentation: Content Items
Chapter details

The building blocks of the content in a website are the content items. Each content item belongs to exactly one content type. The content item comprises of the following components: approval step, categorisation, properties, relations, history, revisions, selection. The plugins in the system, which build this component start with com.tetracom.atlas.contentitem.

Important classes:

ContentItem – contains the content item details.

CiPropertyValuesContainer – contains the property values of a content item.

CiRelationValuesContainer – contains the relation values of a content item.

Important services:

IContentItemDetailsService – provides access to a single content item and all functionalities related to it.

IContentItemListService – provides access to multiple content items.

IContentItemMonitorService – provides specific statistics for content items.

content item properties

The content item properties are actually the properties defined in the item's content type. The property groups and types are explained in the chapter Content Model. The plugins in the system, which build this component start with com.tetracom.atlas.contentitem.ctproperty.

Important classes:

CiPropStringValue, CiPropNumberValue, CiPropDateValue, CiPropSingleFmdValue, CiPropMultiFmdValue, CiPropLookupValue – these classes contain the property values and they all derive from the ICiPropertyValue interface, which is the base container for the content item property values.

Important services:

CTPropertyCommonValueService, CTPropertyFileValueService, CTPropertyLookupValueService – these services derive from the IPropertiesValueService interface, which is used to collect property values from all types.

 

content item relations

The content item relation represents the relation between the item and other items from a different type. It is defined in the content type and it is explained in the chapter Content Model. The plugins in the system, which build this component start with com.tetracom.atlas.contentitem.ctrelation.

Important services:

CTRelationCommonValueService, CTRelationSelfValueService, CTRelationUnspecificValueService – these services derive from the IRelationsValueService interface, which is used to collect relation values from all types.